package com.bt.table.ppt;

/**
 * Bis_opeId entity. @author MyEclipse Persistence Tools
 */

public class Bis_opeId implements java.io.Serializable {

	// Fields

	private String ope_id;
	private String ope_ver;

	// Constructors

	/** default constructor */
	public Bis_opeId() {
	}

	/** full constructor */
	public Bis_opeId(String ope_id, String ope_ver) {
		this.ope_id = ope_id;
		this.ope_ver = ope_ver;
	}

	// Property accessors

	public String getOpe_id() {
		return this.ope_id;
	}

	public void setOpe_id(String ope_id) {
		this.ope_id = ope_id;
	}

	public String getOpe_ver() {
		return this.ope_ver;
	}

	public void setOpe_ver(String ope_ver) {
		this.ope_ver = ope_ver;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_opeId))
			return false;
		Bis_opeId castOther = (Bis_opeId) other;

		return ((this.getOpe_id() == castOther.getOpe_id()) || (this
				.getOpe_id() != null && castOther.getOpe_id() != null && this
				.getOpe_id().equals(castOther.getOpe_id())))
				&& ((this.getOpe_ver() == castOther.getOpe_ver()) || (this
						.getOpe_ver() != null && castOther.getOpe_ver() != null && this
						.getOpe_ver().equals(castOther.getOpe_ver())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getOpe_id() == null ? 0 : this.getOpe_id().hashCode());
		result = 37 * result
				+ (getOpe_ver() == null ? 0 : this.getOpe_ver().hashCode());
		return result;
	}

	@Override
	public String toString() {
		return "Bis_opeId [ope_id=" + ope_id + ", ope_ver=" + ope_ver + "]";
	}

}